home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / sauter.zip / 00README next >
Text File  |  1990-12-01  |  3KB  |  74 lines

  1. This is the John Sauter's CM ont resizing kit.  It was obtained 11/17/90
  2. from sun.soe.clarkson.edu.
  3.  
  4. Because fonts generated at a given point size are prettier than magnified
  5. versions of a 10-point font,  you may want to generate fonts for every
  6. size you use, and use only one magnification for each output device.
  7. For example, for a HP laserjet, instead of using cmr10 magstep 5
  8. (pk/746/cmr10.pk), you would generate a 25-pt cmr, and access cmr25 with
  9. no magstep. (pk/300/cmr25.pk)
  10.  
  11. If you generate sets of fonts for LaTeX, you will need to edit your
  12. lfonts.tex file and re-generate your lplain format.
  13. One such lfonts.tex file is included here.  A good approach is to generate
  14. a core set of font sizes for LaTeX, and then generate more fonts only
  15. when your dvi processor can't find a specific magnification.
  16.  
  17. Some batch files have
  18. been provided to help automate the process of font generation.  These
  19. batch programs require 4DOS3.x.  There is no good excuse not to be running
  20. 4dos, which can be pulled from SIMTEL20, but I imagine conversion to another
  21. batch language should be simple.  To make full use of these tools, some
  22. version of awk (GNU awk is excellent and free) is called for.
  23.  
  24. The unix shell scripts from an earlier distribution are also included as
  25. a model.
  26.  
  27. 1) make_mf.btm, maket_mf.btm:
  28.    These are called from the command line with the family name and the
  29.    desired sizes, and generate files in a target MF input directory
  30.    that build the appropriate fonts in the specified sizes.
  31.    They also dump the file names into a file named l-new, for generation
  32.    of a BAT file to control METAFONT.
  33.  
  34.    make_mf adjusts the size be a power of 1.2 if it is one of the 'standard'
  35.    sizes (11,14,17,20,25,30).  maket_mf does not.
  36.  
  37.    The file 0readme is the file that came with this kit, and describes
  38.    the files that these batch programs build.
  39.  
  40. 2) domf.awk:
  41.    This file converts a series of family/size names into a batch file
  42.    to control METAFONT.  Internally set variables control the invokation
  43.    of METAFONT and modes & other commands.
  44.  
  45. 3) mk_missn.btm, mk_info.btm, mk_latex.btm
  46.     These generate sets of MF files.
  47.       mk_missn.btm - makes a set of 'missing' latex sizes, so LaTeX can
  48.                      be run without magnifications.
  49.  
  50.       mk_latex.btm - generates a more comprehensive set of LaTeX sizes.
  51.                      The file lfonts.tex is a replacement that contains
  52.                      font definitions for proper font sizes.
  53.  
  54.       mk_info.btm  - makes a set of sizes for GNU's TeXinfo files.
  55.                             The file texinfo.pat contains the cdiff to make
  56.                      texinfo 2.1 use proper font sizes.
  57.  
  58. an example session:
  59.  
  60.    make_mf cmr 11 14 17 20 25 30 (creates entries cmr14-cmr30 in l-new)
  61.    make_mf cmssq 12 14 17 10 9 (creates entries cmssq12-cmssq9 in l-new)
  62.    (adjust parameters in domf.awk for desired output resolution)
  63.     mv l-new l-name
  64.    gawk -f domf.awk l-name > do.bat  (create a MSDOS batch file to run MF)
  65.    .\do             (run the batch file)
  66.    (wait. . .)
  67.    cp *.tfm c:\l\tex\fonts\tfm  (copy the .tfm files to the TFM directory)
  68.    for i in (*.300) gftopk %i   (make .pk files from one magnification)
  69.    cp *.pk c:\l\tex\fonts\pk\300 (move the .pk files to the right directory)
  70.     
  71.  
  72.  
  73.    
  74.